package com.pingan.pastry.service;

import com.pingan.pastry.common.annotation.Param;
import com.pingan.pastry.entity.User;

import java.util.List;

public interface UserService {

    /**
     * @author longcheng  
     * @date 2020/3/7 21:51
     * @param [name, passWord]  
     * @return com.pingan.pastry.entity.User
     * @note 查询用户接口
     */

    User findUser(String name,String password);

    /**
     * 登录成功回调
     * @param userId
     * @return
     */
    List<String> findPermission(Integer userId);


}
